<?php

/*
  Author:    Alfredo 'IceCoder' Mungo <chimeranet89@gmail.com>
  License:   LGPL
  Copyright: 2013
*/

class ImageHelper {

  /*
    Converts an image from its source format to the destination format.
    Formats are guessed from the file extensions.

    Arguments:
      string $source: The source image file path.
      mixed $dest: The destination image file path or one of the image type constants.

    Return:
      true  - the image has been correctly converted.
      false - the image has not been converted.

    Notes:
      If the $dest is one of the image type constants, the result is directly sent to stdout.
   */
  public static function convert($source, $dest) {
  }
}

?>